package com.situ.mall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;

import com.situ.mall.entity.OrderItem;

public interface OrderItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderItem record);

    int insertSelective(OrderItem record);

    OrderItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderItem record);

    int updateByPrimaryKey(OrderItem record);

	
// 自己写的 
    
  //前台
  	/* 2020年4月19日 order_list.jsp☞order_info 订单详情  by userId & orderNo & shippingId*/
    List<OrderItem> selectOrderItemInfoListByUserIdAndOrderNo(@Param(value = "userId")Integer userId, 
    													@Param(value = "orderNo")Long orderNo);	
}